<?php $this->load->view('backend/header'); ?>

<body class="black">

<?php $this->load->view('backend/top'); ?>
<?php $this->load->view('backend/slidebar'); ?>
	<!-- Style customize -->
	<style>
		#h1_top{
			margin-bottom:10px;
		}
	</style>
	
	<!-- Home page -->
	<input type='hidden' value=''video' class='page' />
	
	<!-- CONTENT -->
	<div id="content">
	
		<h1 id='h1_top'><img src="<?php echo $template_url.'images/' ?>/icons/posts.png" alt="">Add Video</h1>	
		
		<!-- Success notification -->
		<?php if(isset($error) && $error === 0): ?>
		<div class="notif success">
            <strong>Success :</strong>  Upload image success
            <a href="#" class="close"></a>
        </div>
        <?php endif; ?>
        
        <!-- Success notification -->
        <?php if(isset($error) && $error !== 0): ?>
		<div class="notif error">
            <strong>Error :</strong>   <?php echo $error ?>
            <a href="#" class="close"></a>
        </div>
        <?php endif; ?>			
		
		<form method='POST' action='' id='form' enctype="multipart/form-data">
		<div class="bloc">
		    <div class="title">
		    </div>
		    
		    <div class="content">
		        <div class="input">
		            <input type="text" class="range min-10 max-60" value='Name' rel='required' name='name'>
		        </div>
		        
		        <div class="input">
		            <input type="text" class="range min-10 max-60" value='Video Url' rel='required' name='video_url'>
		        </div>		        

				<div class="submit" style='text-align: center; margin-top:10px;'>
				    <input type="submit" value="Update" class="button black" id='update' name='update'>
				</div>	
				<input type='hidden' name='num_file' id='num_file' value='1' />		        
		    </div>
		</div>		
		</form>
	</div>
</body>
</html>
